Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agentless POC #1

Closed
wants to merge 5 commits into from
Closed

Agentless POC #1

wants to merge 5 commits into from

Conversation

MarcosDY
Copy link
Owner

@MarcosDY MarcosDY commented Dec 7, 2020

Add an agentless POC using SPIRE-agent to push svids

Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
Repository owner deleted a comment from amartinezfayo Dec 9, 2020
@MarcosDY MarcosDY closed this Dec 9, 2020
@MarcosDY MarcosDY reopened this Dec 9, 2020
…that allows agent to Put SVIDs into new platform,

Implemented SVID Store - aws_secretsmanager plugin that put any update into an SVID to a Secret in AWS Secrets manager

Signed-off-by: Marcos Yacob <marcos.yacob@hpe.com>
Signed-off-by: Marcos Yacob <marcos.yacob@hpe.com>
amartinezfayo and others added 3 commits December 17, 2020 09:29
* Some fixes around selectors naming
* Support storing in multiple AWS regions

Signed-off-by: Agustín Martínez Fayó <amartinezfayo@gmail.com>
Signed-off-by: Agustín Martínez Fayó <amartinezfayo@gmail.com>
… inside gcloud secrets manager

Signed-off-by: Marcos Yacob <marcos.yacob@hpe.com>

for {
select {
case update := <-p.c.PipeOut.GetUpdate():

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for the PR we'll want some metrics around this operation


log = log.WithField("plugin_name", pluginName)

svidStore, ok := svidStores[pluginName]
Copy link

@amoore877 amoore877 Jan 13, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was it also considered to have each SVID Store plugin have its own distinct Pipe, and giving agent a mapping to push SVIDs to the correct pipe? Then we'd have multiple Store instances running, 1 for each configured Store, and we may not have to pass along the catalog or access it as much.

I'm not sure yet if there are major benefits or cons to either approach, just bringing it up as an option.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was something I was thinking on too, but I didnt apply something like that, just because we need things to define, for example,
is it possible to have multiples SVID Stores per agent? I dont know if we may restrict an SVID Store per agent (the same way we restrict attestor).
But I think if that we allow multiple, it is a great idea to have them separated, and we may filter "storable" SVIDs in cache. instead of actual approach of filter them on store service.


hasStores := len(cat.GetSVIDStores()) > 0
if hasStores {
pipeIn, pipeOut = pipe.BufferedPipe(1000)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should buffer size be an agent config? I could see operators having a wide range of typical count of secret store SVIDs they would anticipate handling. Some may be doing SVID Store pushes all day and want channels to be blocked as infrequently as possible, others (as a lesser concern given SVID size) may have very few cases and so not need the additional memory allocation.

@MarcosDY MarcosDY closed this Nov 9, 2021
@MarcosDY MarcosDY deleted the agentless_proposal branch February 17, 2023 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants